package com.taoyeshu.common.persistence;

import java.io.Serializable;
import java.util.List;

public interface CrudMapper<T, PK extends Serializable> extends BaseMapper<T, Serializable> {
	int save(T t);

	int delete(T t);

	int deleteById(PK id);

	void update(T t);

	T getById(PK id);

	List<T> queryAll();
}
